/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-07-03 15:04:06
 * @LastEditTime: 2019-08-21 16:41:12
 * @LastEditors: Please set LastEditors
 */
const koa = require('koa')
const app = new koa()
const ejs = require('ejs')
const pug = require('pug')
const {normal,ejsTpl,pugTpl} = require('./tpl')

app.use(async (ctx,next)=>{
    console.log(ctx)
    ctx.type = 'text/html;charset=utf-8'
    ctx.body = pug.render(pugTpl,{
        you:'ke---Lu',
        me:'latmy'
    })
})

app.listen(2333)